<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Types')}:</label>
        <div class="col-xs-12 col-sm-8">
            <!-- <input id="c-types" data-rule="required" class="form-control" name="row[types]" type="number" value="{$row.types|htmlentities}"> -->
            {:build_select(
                'row[types]', 
                $typesList, 
                null, 
                [
                    'empty' => '请选择发布类型',
                    'class' => 'form-control selectpicker',
                    'required' => true,
                    'data-rule' => 'required',
                    'data-placeholder' => '请选择内容类型...',
                    'data-live-search' => 'true'
                ]
            )}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agency')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agency" data-rule="required" class="form-control" name="row[agency]" type="text" value="{$row.agency|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Write_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-write_fee" data-rule="required" class="form-control" step="0.01" name="row[write_fee]" type="number" value="{$row.write_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agency_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agency_fee" data-rule="required" class="form-control" step="0.01" name="row[agency_fee]" type="number" value="{$row.agency_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Official_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-official_fee" data-rule="required" class="form-control" step="0.01" name="row[official_fee]" type="number" value="{$row.official_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Administrative_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-administrative_fee" data-rule="required" class="form-control" step="0.01" name="row[administrative_fee]" type="number" value="{$row.administrative_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remarks" class="form-control" name="row[remarks]" type="text" value="{$row.remarks|htmlentities}">
        </div>
    </div>
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{$row.create_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{$row.update_time}">
        </div>
    </div> -->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
